
# flask-sqlalchemy flask-mail sqlalchemy mail pymysql



# 配置数据库信息
HOSTNAME = '127.0.0.1'
PORT = '3306'
DATABASE = 'lingyilingoa'
USERNAME = 'root'
PASSWORD = ''
DB_URI = 'mysql+pymysql://{}:{}@{}:{}/{}?charset=utf8mb4'.format(USERNAME,PASSWORD,HOSTNAME,PORT,DATABASE)
SQLALCHEMY_DATABASE_URI = DB_URI

SQLALCHEMY_TRACK_MODIFICATIONS = True

SECRET_KEY = '123123'

# 邮箱配置
MAIL_SERVER = 'smtp.qq.com'
MAIL_USE_SSL = True
MAIL_PORT = '465'
MAIL_USERNAME = '313105641@qq.com'
MAIL_PASSWORD = 'hzdakhbqrzmdbhce'
MAIL_DEFAULT_SENDER = '313105641@qq.com'


ENGINES = [
    ('1', '百度','http://www.baidu.com/s?wd='),
    ('2', 'Bing','http://www.bing.com/search?q='),
    ('3', 'Google',''),
    ('4', 'wewe',''),
]